package com.tang.community.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.tang.common.entity.community.Comment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 唐朝阳
 * @since 2022-05-17
 */
public interface CommentService extends IService<Comment> {

    PageInfo<Comment> listComment(String keywords, Integer currentPage, Integer pageSize);

    List<Comment> getNestcomment(String articleTitle);

    PageInfo<Comment> listArticleComments(Integer articleId, Integer currentPage, Integer pageSize);

    PageInfo<Comment> listMyComment(String userName, Integer currentPage, Integer pageSize);
}
